//
//  LZQ_MJRefreshFooter.swift
//  SwiftExercise
//
//  Created by King on 2021/6/18.
//

import UIKit

class LZQ_MJRefreshFooter: MJRefreshBackGifFooter {

    override func prepare() {
        super.prepare()
        var idaImages = [UIImage]()
        for i in 1...8 {
            let image = UIImage(named: "loading_gif-\(i)")
            idaImages.append(image!)
        }
        self.setImages(idaImages, for: .idle)
        
        var refreshImages = [UIImage]()
        for i in 1...8 {
            let image = UIImage(named: "loading_gif-\(i)")
            refreshImages.append(image!)
        }
        self.setImages(refreshImages, for: .pulling)
        
        self.setImages(refreshImages, for: .refreshing)
    }
    

}
